export default [
  // 个人中心
  {
    name: 'myAgent', // 我的代办
    path: '/myAgent',
    component: () => import('views/personalCenter/myAgent.vue'),
    meta: {
      title: '流程设计列表',
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'myAgentDetails', // 我的代办详情
    path: '/myAgent/myAgentDetails',
    component: () => import('views/personalCenter/myAgentDetails.vue'),
    meta: {
      active: 'myAgentDetails'
    }
  },
  {
    name: 'myParticipation', // 我的参与
    path: '/myParticipation',
    component: () => import('views/personalCenter/myParticipation.vue'),
    meta: {
      title: '流程设计列表',
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'myParticipationDetails', // 我的参与详情
    path: '/myParticipation/myParticipationDetails',
    component: () => import('views/personalCenter/myParticipationDetails.vue')
  },
  {
    name: 'ISubmitted', //我提交的
    path: '/ISubmitted',
    component: () => import('views/personalCenter/ISubmitted.vue'),
    meta: {
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'ISubmittedDetails', //我提交的详情
    path: '/ISubmitted/ISubmittedDetails',
    component: () => import('views/personalCenter/approvalFormDetails.vue')
  },
  {
    name: 'toBeApproved', //待审批的
    path: '/toBeApproved',
    component: () => import('views/personalCenter/toBeApproved.vue'),
    meta: {
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'toBeApprovedDetails', //待审批的详情
    path: '/toBeApproved/toBeApprovedDetails',
    component: () => import('views/personalCenter/approvalFormDetails.vue')
  },
  {
    name: 'approvedList', //已审批的
    path: '/approvedList',
    component: () => import('views/personalCenter/approvedList.vue'),
    meta: {
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'approvedListDetails', //已审批的详情
    path: '/approvedList/approvedListDetails',
    component: () => import('views/personalCenter/approvalFormDetails.vue')
  },
  {
    name: 'ccToMeList', //抄送我的
    path: '/ccToMeList',
    component: () => import('views/personalCenter/ccToMeList.vue'),
    meta: {
      keepAlive: true //设置页面是否需要使用缓存
    }
  },
  {
    name: 'ccToMeListDetails', //审批表单详情
    path: '/ccToMeList/ccToMeListDetails',
    component: () => import('views/personalCenter/approvalFormDetails.vue')
  },
  {
    name: 'approvalPreview', //业务单据审批预览界面
    path: '/approvalPreview',
    component: () => import('views/personalCenter/approvalPreview.vue')
  }
]
